//------------------------------------------------------------------------------
void initialize() {

	int i, j;
	for (i = 1; i < 2; i++)
		data[i] = (inst*) malloc(sizeof(inst) * LIMIT);

	for (i = 1; i < 2; i++) {
		for (j = 0; j < LIMIT; j++) {
			data[i][(j % LIMIT)].deliver = false;
			data[i][(j % LIMIT)].received = false;
			data[i][(j % LIMIT)].highestDeliverable = -1;
			data[i][(j % LIMIT)].packet.msgs[0].msg_id = 0;
		}
	}
	new_data = (inst*) malloc(sizeof(inst));
}
//------------------------------------------------------------------------------
